package com.asd.map.service.impl;

import com.asd.map.entity.Line_style;
import com.asd.map.mapper.Line_styleMapper;
import com.asd.map.service.ILine_styleService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author
 * @createtime 2021-09-02 9:49
 * @description
 */
@Service
public class Line_styleServiceImpl extends ServiceImpl<Line_styleMapper, Line_style> implements ILine_styleService {

    @Autowired
    private Line_styleMapper line_styleMapper;


    @Override
    public void deleteById(String applyId, String did) {
        line_styleMapper.removeById(applyId,did);
    }

    @Override
    public List<Line_style> findByApplyId(String applyId, String did) {

        List<Line_style> line_styleList = line_styleMapper.findByApplyId(applyId, did);

        return line_styleList;
    }


}
